package net.wofly.sale.order.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单支付凭证图片
 */
@Data
@Entity
@Table(name = "sale_order_payinfo_pic")
@ApiModel(description = "订单支付凭证图片实体")
public class PayInfoPic {

	@Id
	private String orderPayInfoPicID;
	/**
	 * 订单ID
	 */
	@ApiModelProperty(value = "订单ID", required = true)
	private String orderID;
	/**
	 * 公司:1,品牌:2,商品:3
	 */
	@ApiModelProperty(value = "图片类型", required = true)
	private Integer imgType;
	/**
	 * 图片在服务器上的相对地址
	 *
	 * 图片存放位置  /images/commodity/commodityID/商品详情图片
	 *
	 * 长度：200
	 */
	@ApiModelProperty(value = "图片在服务器上的相对地址", required = true)
	private String imgUrl;

	private Long modifyDate;
	/**
	 * 顺序号
	 */
	@ApiModelProperty(value = "顺序号", required = true)
	private Integer sequenceNumber;

	public PayInfoPic(){

	}

}